#
# Be sure to run `pod lib lint EZUMengSDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = "EZUMengSDK"
  s.version          = "0.7.0"
  s.summary          = "友盟SDK"

  s.description      = <<-DESC
                       提取友盟模块进行项目模块化
                       DESC

  s.homepage         = "http://www.baidu.com"
  s.license          = 'MIT'
  s.author           = { "sffish" => "sunfei@ezjie.com" }
  s.source           = { :git => "http://sunfei@123.57.37.167:8089/r/EZUMengSDK.git", :tag => "v#{s.version}" }

  s.platform     = :ios, '7.0'
  s.requires_arc = true

  s.subspec 'UMeng' do |ss|
    ss.source_files = 'Pod/Classes/UMeng/*'
    ss.ios.libraries = 'c++', 'z', 'sqlite3.0'
    # ss.ios.vendored_library = 'Pod/Library/libMobClickLibrary.a'
    ss.ios.platform = :ios, '7.0'
    ss.public_header_files = 'Pod/Classes/UMeng/*.h'
    ss.frameworks = 'SystemConfiguration'
    ss.requires_arc = false
    ss.user_target_xcconfig = { 'LIBRARY_SEARCH_PATHS' => "$(PODS_ROOT)/Pod/Library/libMobClickLibrary.a"}
  end

  s.subspec 'WeChat' do |ss|
    ss.source_files = 'Pod/Classes/WeChat/*'
    ss.ios.libraries = 'c++', 'sqlite3.0', 'z'
    ss.ios.vendored_library = 'Pod/Library/libWeChatSDK.a'
    ss.ios.platform = :ios, '7.0'
    ss.public_header_files = 'Pod/Classes/WeChat/*.h'
    ss.frameworks = 'SystemConfiguration'
    ss.user_target_xcconfig = { 'LIBRARY_SEARCH_PATHS' => "$(PODS_ROOT)/Pod/Library/libWeChatSDK.a"}
  end
  s.resource_bundles = {
    'EZUMengSDK' => ['Pod/Assets/*.png']
  }
  s.frameworks = 'SystemConfiguration'
  # s.dependency 'EZFramework'
  # s.dependency 'AFNetworking', '~> 2.3'
end
